Let $G$ be a finite group generated by some finite set $S = \{g_1, g_2, ...\} \subseteq G$. Let $h \in G$ be some element. Let the function $c_n: G \rightarrow \mathbb{N}$ be defined that $c_n(h)$ is the number of ways of writing $h$ as a product of $n$ elements from $S$.
Has this function been studied in the literature? Are there known results of the forms this function can take and growth rates it exhibits, based on the choice of $G, S, h$?