How to use FindGameObjectWithTag to get 0

I’ve been trying to use a simple script to count the number of GameObjects to print to a GUI. I can’t figure out how to properly do it. My difficulty is that Length always returns 1. How should I change this code?

	public static int count = 0;
	private GameObject[] getCount;

void Update () {
		getCount = GameObject.FindGameObjectsWithTag("BallsTag");
		count = getCount.Length;
}

////////Edit: I missed how I fixed my problem, the text below is not the solution/////////

Thank you to both of you for replying to my unclear question. The answer turned out to be that because I was using this script to destroy object itself:

	void OnBecameInvisible()
{
		DestroyObject(gameObject);
		}

The final object was destroyed/removed from hierarchy but not completely disappearing. I fixed my problem by changing the code to:

 	void OnBecameInvisible()
{
     	DestroyObject(this.gameObject);
        	}