Created quick example for a counting mechanism