added methods for getting pending and running jobs' count
Merge pull request #77 from sharayumungel/develop

added methods for getting pending and running jobs' count