Sahih al-Bukhari #7392
Oneness, Uniqueness of Allah (Tawheed) 97:21
Narrated Abu Huraira:
Allah's Messenger (ﷺ) said, "Allah has ninety-nine Names, one-hundred less one; and he who memorized them all by heart will enter Paradise." To count something means to know it by heart.