Since in azulene (IV) two rings share a double bond, therefore, two electrons of this double bond can be counted towards each. As a result, each ring has 6π-electrons and hence azulene is aromatic. Pyrrole (II), is aromatic because it contains 6π-electrons (four from the two double bonds + one lone pair of electrons on the N atom).