InsightVM agents count

The count of agent showing on the platform verses the count on the console does not match. Even when all the agents are showing online. How to fix and get the account count both on console and platform.