Count the number of evenly divisible numbers for a specified value