The lone pair of nitrogen is also part of the extended π-system; the molecule itself is still aromatic. As I already explained in the question about fulvene, aromaticity is nothing you can determine based on simple rules, especially not counting electrons.
Structural indicators like bond lengths and angles give a good idea how well established resonance is. Additionally you can draw a qualitative molecular orbitals diagram and look if it is similar to benzene. Eventually the determination of aromaticity is an experimental one, for example with NMR spectroscopy.
From the crystal structure (M. Fukuyo, K. Hirotsu, and T. Higuchi, Acta Cryst. 1982, B38, 640-643. DOI: 10.1107/S056774088200363X) we know that the carbon-carbon bond lengths are all similar and between 136 and 141 pm. The NMR spectrum clearly shows the protons have aromatic shift, see chemicalbook.com.
The molecular orbitals of aniline (calculated at DF-BP86-D3BJ/def2-SVP; Gaussian 09 D.01) show that the nitrogen is part of the π-system. They are also very similar to benzene. Here are the orbitals of the π-system in decreasing energy. Virtual (unoccupied) orbitals are red/yellow, and occupied orbitals are blue/orange.