Applications of some zeta functions in group theory