The usual approach is line break sensors, atleast 2 with an offset to tell direction, however unless you have a store with a forced entry and exit path and place the sensors where people do not stall, you will have to have a means of compensating for missed and extra counts.
Depending on the store may be easier to supply a staff member at the counter with an up/down click counter.