The subspace consisting of only the zero vector, has dimension $0$.
Take a look at "Why $\mathbf{0}$ vector has dimension zero?" for more details, but note that in this question/title, it should be the "subspace $\left\{ {\bf 0} \right\}$" rather than only the "element ${\bf 0}$".
Now in this question, I find that the only member of the null space is the zero vector. So the dimension should be $1$. But the answer is $0$. Why is it so ?
If the dimension would be $1$, any basis for this subspace would consist of exactly one (non-zero) vector (by the definition of dimension), since a basis has to be linearly independent. But then the subspace spanned by this basis necessarily has an infinite number of elements, since all scalar multiples of the basis vector are in the subspace.