When it comes to maintaining most software projects, the number I hope to achieve on every commit is
negative. In fact, I take pride if I can add 700 lines but remove 1500 (C++).
This is because writing code is relatively simple, whereas understanding it and ultimately maintaining it is very hard. So aiming to write more code is a very poor objective, you should be aiming to keep a project maintainable so that your costs are low (in terms of time, bug frequency, etc.).
That doesn't mean new features won't require lots of code, but there should be some way to prune old code on the same schedule.