Recently (last few months) Twitter does not handle the badge indicating notifications correctly. Even when there are no unread notifications, the badge is shown with x notifications. Clearing the badge manually or clearing the cache does not help, the badge reappears.