Still working on the count method
Mostly done
counter part still can not work the repeat part need a update by use
while loop
use the while instead of for loops