Topological charge and fermions in the two-dimensional lattice U(1) model (I)