$: pbpaste | grep '#\w\+' -o | tr 'A-Z' 'a-z' | sort | uniq -c | pbcopy
Terminal command: paste, find all hashtags, convert to lowercase, sort in alphabetical order, only show uniques and also show the count how many times it was found in the list, copy the results
Works with Mac OSX