restricting the count of gets