Foreach Length not defined C#

Hello guys, I am having some issues with a Foreach loop and .Length in C#

void Update() {
	foreach (GameObject gameObj in GameObject.FindGameObjectsWithTag("kills")) {
		print (gameObj.Length);
	}
}

it comes up with the error “Does not contain a definition for ‘Length’”

I have tried a few other ways for getting the number of “kills” but .Length will not work.

Thanks for any help guys

If I understood you correctly - you want something like that?:

    GameObject[] goS = GameObject.FindGameObjectsWithTag("kills");
    print(goS.Length);