script to generate share counts from URLs