Support for count against the QL server for optimisations