Actually there are two types of ";", expression-separator (the one you mentioned) and statement-separator (the one parent meant)
The problem with using those for code metrics is that many systems don't require separators, like `if`, `for` and friends