I don't have a problem with charging for road usage at peak times to be honest.
It wouldn't need to be number of cars at a set of lights and it would also have economic implications for bank holiday weekends which would destroy income in some areas and possibly would cause huge bills through no fault of the driver.
Just use KISS, set times with green amber and red charging periods in set areas. Areas with no pollution issues no charge and no time restrictions.