While we’re not gonna share the exact inner workings of H&N, the basic idea is to count the requests from the Physical Web Service which validates/ranks the URLs before they’re shown to the user.
This however isn’t an exact method, I explained why in this post: