Of course some people can slip through the net, so these are really ticket counts rather than passenger counts. But I'd guess they're not too far off for most stations.
Even if stations are staffed, the staff can't be counting heads.