added more methods

for fetching distinct DNs from JobStat in order of their last job id and fetching the number of distinct DNs