Refactor the CountSrcLines pass

Now we have a simpler and clean logic and variable names. All this pass
does is to calculate the statistics including number of BBs, number of
ignored instructions, number of source lines, etc.