How many four-digit whole numbers contain the digit pair "17" without other intervening digits? (Note that 2017 is one such example but 2107 is not.)