counts controller with positions filter