Problem is with count variable.