new team count function for flaircount