1. Introduction
Public transportation, particularly bus travel, has the potential to alleviate traffic congestion. Overcrowding can discourage people from using public transportation, so having an accurate number of passengers who are waiting at the bus stop can help transportation planners better manage travel behavior, reduce passenger congestion, and improve public transportation services in smart cities [1]. Nowadays, data coming from automatic passenger counting (APC) systems are a source of knowledge for solving a wide variety of urban transport issues, ranging from public service improvements to real-time responses to critical traffic situations. Understanding these types of data while preserving privacy is fundamental to the development of smart cities [2].