corrected code for counting number of processors used by jobs. previous one got the number of NODES requested but this might be e.g. 6 procs on a single node ... you lose. not anymore. counts number of "+" characters in exec_host string.