fix count and simplify/fix posted/not_posted filters