A node is defined as a point around the nucleus where the probability of finding an electron is zero.
A nodal plane passes through the nucleus.
The number of nodal planes for a certain orbital is equivalent to the angular momentum quantum number (l) of this orbital.
Therefore, since the orbital g has l=4, therefore,
the number of nodal planes = 4