this returns number of threads