ANSWER:

The number has no impact on forgiveness. If you die in the state of kufr or shirk, you will be in hell for eternity. 

If you repent, show remorse and never go back, Allah will forgive you. 

Will a person be forgiven if he did shirk/kuffar 3 times or more. I am praying salah and trying my best to do everything that will please allah but this worry that Allah will not forgive me because of shirk/kuffar is eating me up inside.

Shirk and its different forms, Sins |