Which number replaces the question (?) mark ?

A) 9 B) 7 C) 8 D) 13

If we follow the pattern closely, we can see that-

∴ Anwer is $9$