vi treats dash - and space as word separators for commands such as dw and cw.
-
dw
cw
Is there a way to add unders
In case you're using vim, you can change that by setting the iskeyword option (:he iskeyword). If that is not an option, you can always use ct_ instead of counting.
iskeyword
:he iskeyword
ct_