Is there a way to calculate the total number of routes set up in Express.js without manually counting them?
I have defined routes throughout my application and they are not grouped together, so I can't use a counter inside each one. I've searched through the Express.js API documentation but couldn't find any information on how to achieve this.