Comma counter

Added an iterative function