how about groups.size instead of num_processes, since that's the real number of processes used (vs requested) ?