The count meta-argument expands one resource block into indexed instances.
Each instance has a numeric suffix such as lab_server.worker[0], and count.index is available inside the block. Use count when instances are interchangeable and a number expresses the desired quantity. Removing the middle member of a list can shift later indexes, which may change more objects than you intended. Read instance addresses in the plan before approving a change. These tasks use a fixed replica definition with several managed server instances, so distinguish the number of resources from the replicas property inside each resource.
count = 2 creates indexes 0 and 1.