Find the number of positive integers less than or equal to $2017$ that have at least one pair of adjacent digits that are both even. For example, count the numbers $24$, $1862$, and $2012$, but not $4$, $58$, or $1276$.

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