A 3-manifold complexity via immersed surfaces