Filter count properly