added save entry count limitation