public boolean isLastOccurrence() {
        // Check if trigger.count is exceeded if it is set
        return optionsTrigger.has("count") && occurrence >= optionsTrigger.getCount();
    }
Example:
trigger: { every: 'day', count: 5 }
trigger every: { minute: 10, hour: 9, day: 27, month: 10 }
src/android/trigger/TriggerHandlerEvery.java