A commit can delete or modify lines, it at least isn't as bad as the "more code = better" approach, though perhaps it's still flawed in that you could have lots of very minor commits to increase the count, or do and then undo a change to get 2 free commits.