OJS3 metrics issue after upgrade

In the Metrics table of the database, some records have metric_type as ojs::legacycounterplugin, while others show ojs::counter.