The impressions field in of the "Popular results for this search" section in Analytics is counted based on the number of times the hit was returned by the API.
This means that if your implementation uses a hitsPerPage of 100 but only choose to display 5 of them, Algolia will count 100 impressions (or 1 impression for each of the 100 hits returned).