I want to only destroy 3 of the clone prefabs that appear how would I do this?

if((b==h)&&(h==y)){
Destroy(GameObject.Find(“BlueCube(Clone)”),3);

}

int counter = 0;
foreach(GameObject clone in GameObject.Find(“BlueCube(Clone)”)) {
Destroy(clone);
counter++;
if(counter>=3)
break;
}