count spaces