Use entry filter in order to use the sphinx to count entries