Count Integers in Intervals — CaffeCode