cleaned code
changed to counter
used Counter for scraper
fixed conflicts