added badges to indicate number of matches per tab