[JBRULES-2258] Count in sliding time