update count(spaces) if element contains "-"