Hi All.
I am trying to insert a public holiday for my leave request app, I already create the list separately on share point. And I have found this formula to calculate total leave taken except the public holiday. But every time I try to insert the formula, power apps giving me this alert.

I think its the CountIF formula, bcs if I take out the CountIF formula, they dont give any alert

ID public holiday is my list, and holidaystart and holidayend is the start and the end date of the public holiday from my list
Any help is really appreciated, thanks!