Added a query to get number of responses.