Add history count