Migrated updateCounters to new PDO database class, refs #1287