Added OR operator support for COUNT queries