You could paste the following into the website addon.bool.no
to create/download the code as an addon. It should do what you want.
local list
local f = CreateFrame("Frame")
f:RegisterEvent("ADDON_LOADED")
f:SetScript("OnEvent", function(self, event, addonname)
if addonname ~= "Blizzard_Collections" then return end
self:UnregisterAllEvents()
list = MountJournal.ListScrollFrame
for i=1, #list.buttons do
local f = list.buttons[i]
f.MountCount = f:CreateFontString()
f.MountCount:SetFontObject(GameFontNormalSmall)
f.MountCount:SetPoint("TOPRIGHT", -5, -5)
end
hooksecurefunc(list.buttons[1].name, "SetText", function(text)
local offset = HybridScrollFrame_GetOffset(list)
for i=1, #list.buttons do
list.buttons[i].MountCount:SetText(i + offset)
end
end)
end)