msc: Refs #2108 Fix Count SQL queries on Audit page