Higher Eisenstein elements, higher Eichler formulas and rank of Hecke algebras