The number of solutions ofx3=1 in a 3-group