Added count method to combined PublicQuery