Let $k$ be an integer. If the equation $(x-1)\left|x+1\right|=x+\frac{k}{2020}$ has three distinct real roots, how many different possible values of $k$ are there?

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