Answer:
2
Explanation:
Consider two functions:
and

The period of each function is
and

This means that the graph of the function
(red graph) intersects by the horizontal line
twice and the graph of the function
intersects by the horizontal line
four times (blue graph) for

So the equation
has 2 solutions and the equation
has 4 solutions. Thus, the difference is 2.