Techniques for counting and tracking the spatial and temporal movement of visitors