added count to strip()