No elements in $\mathbb{Z}/n\mathbb{Z}$ have order $n$, where the operation is multiplication, as $(\mathbb{Z}/n\mathbb{Z})^{\times}$ is a multiplicative group with order strictly less than $n$.
And if you are asking instead how many elements generate $(\mathbb{Z}/n\mathbb{Z})^{\times}$, not every group of the form $(\mathbb{Z}/n\mathbb{Z})^{\times}$ is cyclic i.e., has a single generator either. Take $n=8$.
IF the operation is addition, then every element $a$ s.t. $(a,n)=1$ has order $n$. Indeed suppose not. Then $ma = kn$ for some positive $m < a$. This implies that $n|ma$. If $n$ does not divide $m$ then this implies that gcd$(a,n) > 1$. [Indeed, that $n$ does not divide $m$ implies that for some prime $p$ and some positive integer $e$, that $p^e|n$ but $p^e$ does not divide $m$. But that $n|ma$ implies that $p^e$ divides $ma$ which implies that $p$ must divide $a$ which implies gcd$(n,a) > 1$.