I need to filter twice when I count the number of entry and exit, once according to the entry time and once according to the departure time. My idea is that you can filter the time only once, and then you can show all the people who have joined or left the company