Give default value for thread count.