new API on counts, allow specifying the integer range