working version of progress bar

-progress bar able to get count of checked items from sql db
-updates progressbar using that count value