Add filtered category count pdo method