Add functions to get and set total number of urls
add debugging
Add job to update number of urls in database
runs every 10 minutes. Will be configurable in the future