Collecting 2 items at a time by mistake.

I have a very simple game where the goal is to collect 15 stars. Everything works fine except that some of the stars count for 2 points instead of 1. I tried deleting the stars that get counted twice, but it changes every time. If I play it, a star will be counted once, then the next time I play it, maybe that star gets counted as 2 points. Its very random and I dont know why its happening. I only want each star to be worth 1 point.

using UnityEngine;
using System.Collections;

public class Collect : MonoBehaviour 
{
	public GUIText countText;
	public GUIText winText;
	private int count;
	
	void Start ()
	{
		count = 0;
		SetCountText ();
		winText.text = "";
	}
	
	void OnTriggerEnter(Collider other)
	{
		if(other.gameObject.tag == "Star")
		{
			other.gameObject.SetActive(false);
			count = count + 1;
			SetCountText ();
		}
	}
	
	void SetCountText ()
	{
	countText.text = "Stars: " + count.ToString();
		if(count >= 15)
		{
			winText.text = "YOU WIN!";
		}
	}	
}

A friend helped me fix this by taking out the “count + 1” and have it calucalate by getting the total and subtracting the collect action which gives you how many was collected. Code below is working for me.

public Text CountText;
    private int total;
    private int nextScene;

    // Use this for initialization
    void Start()
    {
        total = GameObject.FindGameObjectsWithTag("collect").Length;
        UpdateCount(total);
        nextScene = SceneManager.GetActiveScene().buildIndex + 1;
    }
    
    void OnTriggerEnter(Collider ThingCollidedWith)
    {
        if (ThingCollidedWith.gameObject.CompareTag("collect"))
        {
            Destroy(ThingCollidedWith.gameObject);
        }
    }

    void Update()
    {
        var count = GameObject.FindGameObjectsWithTag("collect").Length;
        UpdateCount(count);
        if (count == 0)
        {
            SceneManager.LoadScene(nextScene);
        }
    }

    void UpdateCount(int count)
    {
        CountText.text = "You've collected " + (total - count) + " / " + total;
    }


}