Let $f(x) = x^6 + a_5 x^5 + + a_4 x^4 + + a_3 x^3 + + a_2 x^2 + + a_1 x +a_0 \in \mathbb{F}_2[x]$. Assume $f(x)$ is irreducible over $\mathbb{F}_2$.
First, $0$ cannot be its root, so we have $a_0 = 1$. And this means we still need to consider $2^5 = 32$ cases.
Second, $1$ cannot be its root, so only odd number of $a_i$s $(1 \leq i \leq 5)$ can be $1$, and this means either 1 of $a_i$s, or 3 of $a_i$s, or 5 of $a_i$s, can be 1. So the number of cases we need to consider is
$$\begin{pmatrix} 5 \\ 1 \end{pmatrix} + \begin{pmatrix} 5 \\ 3 \end{pmatrix} + \begin{pmatrix} 5 \\ 5 \end{pmatrix} = 5 + 10 + 1 = 16$$
Third, we need to exclude those polynimials s.t. 1 and 0 are not their roots but they can still be written as a product. And since we are assuming that 1 and 0 are not their roots, we only need to consider the factors of degree 2, 3, and 4 with 0 and 1 not their roots.
For factors of degree 2, we have $x^2 + x + 1$
For factors of degree 3, we have $x^3+ x + 1$ and $x^3 + x^2 + 1$
For factors of degree 4, we have $x^4 + x^3 + x^2 + x + 1, x^4+ x^3 + 1, x^4+ x^2 + 1, x^4+ x + 1$
So we need to exclude:
$f_1(x) = (x^2 + x + 1)^3 = x^6+3x^5+6x^4+7x^3+6x^2+3x+1 \equiv x^6 + x^5 + x^3 + x + 1$
$f_2(x) = (x^3+ x + 1)^2 = x^6+2x^4+2x^3+x^2+2x+1 \equiv x^6+x^2+1$
$f_3(x) = (x^3+ x^2 + 1)^2 =x^6+2x^5+x^4+2x^3+2x^2+1 \equiv x^6+x^4+1$
$f_4(x) = (x^3+ x + 1)(x^3+ x^2 + 1) = x^6+x^5+x^4+3x^3+x^2+x+1 \equiv x^6+x^5+x^4+x^3+x^2+x+1$
$f_5(x) = (x^2 + x + 1)(x^4 + x^3 + x^2 + x + 1) = x^6+2x^5+3x^4+3x^3+3x^2+2x+1 \equiv x^6+x^4+x^3+x^2+1$
$f_6(x) = (x^2 + x + 1)(x^4+ x^3 + 1) = x^6+2x^5+2x^4+x^3+x^2+x+1 \equiv x^6+x^3+x^2+x+1$
$f_7(x) = (x^2 + x + 1)(x^4+ x^2 + 1) = x^6+x^5+2x^4+x^3+2x^2+x+1 \equiv x^6 + x^5 + x^3 + x + 1 = f_1(x)$
$f_8(x) = (x^2 + x + 1)(x^4+ x + 1) = x^6+x^5+x^4+x^3+2x^2+2x+1 \equiv x^6+x^5+x^4+x^3+1$
Since $f_1(x) = f_7(x)$ and the polynomials listed above satisfy the condition that 1 and 0 are not their roots, we only need to exclude 7 cases from 16 cases. Therefore, there are $16 - 7 = 9$ cases left, and they are the irreducible degree six polynomials in $\mathbb{F}_2[x]$ that we need. So there are 9 irreducible degree six polynomials in $\mathbb{F}_2[x]$.