Notification counter not updating correctly for badges

I'm looking for some help with some Notification counter oddities in KLWP. Specifically, FairEmail application.

In KLWP, I have the following formula:

$ni(pcount,$ <== number of email notifications in status bar

However, if I receive more than 1 email, the counter (pcount) stays at 1 and doesn't increment. But if I go into the FairEmail app and read or delete one of the new emails, the counter does increment. I.e., if I send 3 emails, the counter will read 1, but after going into FairEmail and reading one of the emails, the counter will go to 2.

Is there an update interval for KLWP to read the notifications? What triggers KLWP to read the notifications?

Any help with this greatly appreciated. Thanks