Consider the harmonic sequence $\frac{2017}{4},\frac{2017}{7},\frac{2017}{10},\ldots$, where the reciprocals of the terms of the sequence form an arithmetic sequence. How many terms of this sequence are integers?

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