It's my understanding that for a particle in a 1-D box, the change in energy from the HOMO to LUMO can be approximated with the following equation: $$\Delta E=\frac{h^2 ( N + 1 )}{8 m_\mathrm{e} L^2}$$ I am told that $N$ represents the number of π electrons in the molecule.
If you're studying a molecule like the one shown below and you want to predict the absorption wavelength from UVVIS, would you count all of the π electrons, or just the conjugated ones? It doesn't make much sense to me why you'd want to include the π electrons from the phenyl group next to the neutrally charged Nitrogen because it's not conjugated with the rest of the molecule to the same extent the other phenyl group is, and thus seems like it would be grossly inaccurate to assume that those π electrons contribute the same as the others.