A virtual line across a shop entrance counts people walking in and out, and flags two people coming through on one entry.