Since the lone pairs (pi electrons) on the oxygen are not associated with a double bond, they are able to participate in resonance. Therefore the 4 delocalized electrons in the ring and 2 from the oxygen make a total of 6 delocalized electrons able to perform resonance. With the help of the "+" charge on the allylic carbon, the molecule is an aromatic compound