combine strnstrip with conversion, so no need to convert then strip.
whoops, count even if it's zero