Let $\Gamma \subseteq GL_{n}(\mathbb{C})$ be a finite matrix group. Let this finite matrix group act on $f(x_1,...,x_n) \in \mathbb{C}[x_1,...,x_n]$ like so: $$\Gamma \cdot f(x_1,...,x_n) = f(\Gamma \textbf{x})$$ where $\textbf{x}$ is to be thought of as the column vector of the variables $x_1,...,x_n$.
Define the invariant subspace $\mathbb{C}[x_1,...,x_n]^{\Gamma} = {\{f \in \mathbb{C}[x_1,...,x_n] : A \cdot f = f \hspace{2mm} \forall \hspace{2mm} A \in \Gamma}\}$.
Now, define the Reynold's operator $R_{\Gamma} : \mathbb{C}[x_1,...,x_n] \rightarrow \mathbb{C}[x_1,...,x_n]$ by: $$R_{\Gamma} (f)(\textbf{x}) = \frac{1}{|\Gamma|} \sum_{A \in \Gamma} f(A \textbf{x})$$
Now, the number of linearly independent invariants of $\Gamma$ of degree $1$ is given by $$a_1 = \frac{1}{|\Gamma|} \sum_{A \in \Gamma} trace(A)$$ But I'm not sure why this is so? I know that $R_{\Gamma}$ is projection on to $\mathbb{C}[x_1,...,x_n]$ and $im(R_{\Gamma}) = \mathbb{C}[x_1,...,x_n]^{\Gamma}$, and so this would imply that $trace(R_{\Gamma}) = dim(\mathbb{C}[x_1,...,x_n]^{\Gamma})$, but where do I go from here? What is the trace of this Reynold's Operator?
I'm not even sure if I'm going in the right direction here, because I'm not sure why this $dim(\mathbb{C}[x_1,...,x_n]^{\Gamma})$ would even give the number of linearly independent invariants of $\Gamma$ of degree $1$. Where does the degree $1$ bit come from?