what is the answer to this question?

The answer should be 4
Let me know if i am wrong and ill correct it