Number of spanning trees on a lattice