What is the difference between “Occupancy” and “Headcount” data?

Headcount (also known as People Count) is when a sensor counts # of entries and # of exits.

Occupancy represents the # of people in a given space, whether it's a building, floor or room, at a certain point in time.