Should always return the number of queries sent.