Count all the events of tomorrow

I am trying to use the $ci(ecount, a1d)$ formula to count all tomorrow's events. But I think the formula only counts the "all day" events of tomorrow and not the events scheduled with specific times. Anyone know a way to use the formula to count all the events of tomorrow regardless of whether they are all day or not?

$ci(ecount, a1d)$

This formula is for events with time, for all day is acount, I tested it and is working well in my phone, maybe you have your Kustom app in battery save mode in your phone and this is preventing the app to update adequately.