Fix floating point usage of count_process and count_thread > 1.0 so that floor is used (not ceil!).