I don't count the passengers who board and alight - not even the TOCs do that!
TOCs are required to submit to the DfT passenger numbers for all of their services at least twice a year. This is typically done by external companies, either through manual counts or using the equipment on board.