Harvesting data about queries