Count the occurrences of the $ symbol on a webpage and display the count and total in a draggable box