If you count all P's, you get 17 or 9.
Answer from: Max Ilyin:
Radical psychologist. Publicist, speaker, translator. Member of Section Board...
There are 17 or 9 gift bags on the shelf. I can show you how they stand (n - gift, yellow in bold):
n, n, n, n, n, n, **p**, n, n, n, **p**, n, n, n, n, n, n.
Or it can be either:
n, **p**, n, n, n, **p**, n, n, n.
If you count all the letters P, you get 17 or 9.