When the system debug is enabled the number of queries is not counted on the front end - it always displays 0
Works correctly though in the admin
Set to "closed" on behalf of @zero-24 by The JTracker Application at issues.joomla.org/joomla-cms/5997
Closing as we have a PR by @prasoon2211 #6013
Set to "closed" on behalf of @zero-24 by The JTracker Application at issues.joomla.org/joomla-cms/5997