Adds total entries support.