ohcount sefaults with optimisation enabled, so I set it to -O0 manually.
Ohcount is the source code line counter that powers Ohloh. Ohcount supports over 70 popular programming languages, and has been used to count over 6 billion lines of code by 300,000 developers!