As a novice vim user, I used d[count]<Enter> to delete lines.
It striked me as odd that there were always count+1 lines deleted.
If I wanted to delete 2 lines, I typed d1, 3 lines took d2, …
I finally took the time trying to understand why and it appears I should have been using :d<count>.
That does beg for the question though, why is :d1<Enter> <> d1<Enter>
d<count>in normal mode doesn’t do anything, because the count isn’t followed by a motion. So presumably you’ve been hittingd<count><Enter>, in which case the motion associated withdis<count><Enter>, which moves<count>lines downward. Since<Enter>is a linewise motion, thedwill also be linewise, deleting all lines from the current one to the line<count>downward, inclusive.The command you actually wanted is
<count>dd.