switched counters to methods so they return the correct number.