enable count and indexOf for internal request