newlines on a language that simple don't care about newlines means nothing, you could have 1 or 10 statements in a line and it would be the same for perl.
Counting the ";" would be better but if you want a real approach simple benchmark the loading of the module.