add thread_count for daemon process