Support occurrences params in /count api