Added temporary threads counter