Explicitly fetch number of hits before creating response