I asked Anas (Allah be pleased with him) as to how many Pilgrimages had been performed by Messenger of Allah ﷺ, and he replied: One Hajj and four ʿUmras were performed by him. The rest of the hadith is the same.
سَأَلْتُ أَنَسًا كَمْ حَجَّ رَسُولُ اللَّهِ ﷺ قَالَ حَجَّةً وَاحِدَةً وَاعْتَمَرَ أَرْبَعَ عُمَرٍ ثُمَّ ذَكَرَ بِمِثْلِ حَدِيثِ هَدَّابٍ