Count the $\pi$-bonds:Two $\pi$-bonds in the aromatic ring.One $\pi$-bond in the carboxyl group.Two $\pi$-bonds in the nitro group.\[ \text{Total number of $\pi$-bonds} = 5. \]Final Answer: \[ 5. \]