Configurable source code line counter and statistics generator