Check out example codes for "how to find the number of objects with the same tag in unity". It will help you in understanding the concepts better.

Code Example 1

if(GameObject.FindGameObjectsWithTag("Enemy").Length > 20) {    // Do something }

Learn ReactJs, React Native from akashmittal.com