Code to replace the "count" commands in C# for text.

I am making a an app similar to this. In the 8th video, a scoring feature is added. Is there anyway to edit that code so instead of counting every time an object is picked up, that text is displayed instead. An example of the code to COUNT:

    if (other.gameObject.CompareTag("PickUp"))
    {
        other.gameObject.SetActive(false);
        count = count + 1;
        countText.text = "Count: " + count.ToString();
    }
}

void SetCountText()
{
    countText.text = "Count: " + count.ToString ();
}

@NoseKills Thank You I will try it.