added utility for counting running/pending bjobs