# Reconciler ## Collect entity counts on cluster via agent - [POST /gitops/api/v1/agents/{agentIdentifier}/reconcile/counts](https://apidocs.harness.io/openapi-merged/reconciler/reconcilerservice_collectcounts.md): Returns number of entities that exist in the cluster on the agent. Filter can be used to count only global entities (with empty project) and those specified by the filter. ## Import data from cluster via agent - [POST /gitops/api/v1/agents/{agentIdentifier}/reconcile/import](https://apidocs.harness.io/openapi-merged/reconciler/reconcilerservice_importdata.md): Imports data from cluster via agent. There must be at least one project mapping in the database. Returns number of entities imported.