gs quiz2- made counter class