301 Assignment 1 counter