Processing cost and computer resources used to process a query