I need to know how I can filter the incidents that are in the same state for more than x days, or that have not changed the state for x certain days
-----------
For example.
I want to know how many incidents have been in the "in progress" status for 10 days or whatever date I want to set.