Let $\omega$ be a nonreal root of $z^3 = 1.$  Find the number of ordered pairs $(a,b)$ of integers such that $|a \omega + b| = 1.$

Let's think step by step and output the final answer within \boxed{}.
user