Added count methods to the pharmacology filters API