Refactor count into a count-helper function (<newline>)
Refactor <space> after count-helper