html-generator: Implement handling of total number of connections