Find the number of positive integers less than $1000$ that can be expressed as the difference of two integral powers of $2.$


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