Answer
$3$ degenerate states
Work Step by Step
The quantized energies for an electron trapped in a three-dimensional infinite potential well that forms a e rectangular box are
$E_{nx,ny,nz}=\frac{h^2}{8m}\Big(\frac{n_x^2}{L_x^2}+\frac{n_y^2}{L_y^2}+\frac{n_z^2}{L_z^2}\Big)$,
where m is the electron mass and $n_x$ is a quantum number for well width$ L_x$, $n_y$ is a quantum number for well width $L_y$ and $n_z$ is a quantum number for well width $L_z$.
In this problem, the electron is contained in a cubical box of widths $L_x=L_y=L_z=L$.
$\therefore\;\;E_{nx,ny,nz}=\frac{h^2}{8mL^2}\Big(n_x^2+n_y^2+n_z^2\Big)$,
The first exited states are the $(2,1,1)$, $(1,2,1)$ and $(1,1,2)$ states having same energy of
$E_{2,1,1}=E_{1,2,1}=E_{1,1,2}=\frac{h^2}{8mL^2}\Big(2^2+1^2+1^2\Big)$
$\implies E_{2,1,1}=E_{1,2,1}=E_{1,1,2}=6\Big(\frac{h^2}{8mL^2}\Big)$
Therefore, there are $3$ degenerate states which have the energy of the first excited state.