Python See How Many Threads Are Needed