So, you are finding only twelve divisors of $2$ when you try to count them. That's because there are actually twelve divisors of $2$, not sixteen.
When you render $2=(1+i)(1-i)$ and then assume divisors having the form
$u(1+i)^a(1-i)^b; a,b\in\{0,1\}, u\in\{\text{units}\}$
you miss the fact that all the factors do not combine independently: there is a unit $u$ other than the identity such that $(1+i)^1=u(1-i)^1$ (can you see what this unit $u$ is)? That means you are double-counting some factors. We say that the factorization of $2$ into $(1+i)(1-i)$ ramifies it.
To get around this ramification use a factorization that avoids using both elements of the ramified pair. For instance, you may combine $2=(1+i)(1-i)$ with $1+i=i(1-i)$ to get $\color{blue}{2=i(1-i)^2}$. Now (since the factor $i$ is a unit and $1-i$ is the only prime appearing) the divisors of $2$ are counted out by the set
$u(1-i)^b; b\in\{0,1,2\}, u\in\{\text{units}\}$
which properly gives twelve divisors with no double-counting due to ramification.