changing levels on unity

Thank you to all the people who helped me with my last question. It worked and now i can change levels, but i have another question. ON the first level there are 3 pick ups, and when it collects them it goes to level 2. In level 2, there are 6 pick ups. I want the ball to collect all 6, but once it collects 3 it reloads the level i am on. So how do i make it to where it doesn’t do that. I know to make it change levels i used an if statement but can there be more than one if statement, and if so how. Please help, and thank you in advance

Here is an example on how you could do it…
I basically get all the pickup objects tagged with “pickup” at the beginning of the scene.
And everytime one of the objects is collided with I decrease the total count in the sceneloader instance.
When the count is smaller or equal to 0 it will load the new scene.

The script that would manage the sceneloading:

using UnityEngine;

public class SceneLoader : MonoBehaviour
{
    private static SceneLoader _instance;
    public static SceneLoader Instance { get { return _instance; } }

    private void Awake()
    {
        if (_instance != null && _instance != this)
        {
            Destroy(gameObject);
        }
        else
        {
            _instance = this;
        }
    }

    public int TotalPickups;

    void Start()
    {
        TotalPickups = GameObject.FindGameObjectsWithTag("pickup").Length;
    }

    void Update()
    {
        if (TotalPickups <= 0)
        {
            // Load new scene
        }
    }
}

The script that would go on the pickup gameobject:

public class Pickup : MonoBehaviour
    {
        void OnTriggerEnter2D(Collider2D col)
        {
            if (col.gameObject.tag == "pickup")
            {
                // Decrease the total pickups
                SceneLoader.Instance.TotalPickups--;

                // Remove pickup
            }
        }
    }