At a function, the chief guest was accompanied by some people, and all were sitting in the audience gallery facing towards the west. P sits second to the left of the chief guest, Q sits fourth to the right of P. The number of people sitting to the right of Q is exactly one less than the number of people sitting to the left of Q. No one sits to the left of P. How many total people were sitting in the audience gallery?
A8
B10
C9
D7