allow custom value for how many notifications to keep