change rpp to count