AMC 12A 2017 Problem 20

How many ordered pairs (a, b) such that a is a positive real number and b is an integer between 2 and 200, inclusive, satisfy the equation \left(\log _{b} a\right)^{2017}=\log _{b}\left(a^{2017}\right) ?

Answer Choices
A. 198
B. 199
C. 398
D. 399
E. 597