Piecewise functions and their integrals

Let the function be defined by

Define Let denote the number of solutions of the equation in the interval and Then the value of is equal to __________.


The answer is an integer.