Enumeration of a special class of irreducible polynomials in characteristic 2