only show the number in the title bar if there are events