Pass count of resources into ResourceList