Naphthalen-2-ol acts as an acid and reacts with NaOH to form salt sodium naphthalen-2-olate which is compound N. The number of resonance structures for N is 9. They are as shown in the image.