Samsung and LG app icon shows incorrect badge counts
So to fix it, you need to mark all messages as read (Textra > 3 dots on the top right > Mark all as Read) then uninstall Textra SMS, install Textra SMS again and you'll see the app icon badge then works as expected.