validate response size and number of items