Airports count passengers through various methods, such as using electronic ticketing systems, passenger manifests, and boarding pass scans. These systems track the number of passengers on each flight and provide an accurate count.