#!/bin/bash
# your code goes here
awk 'match($0,/\(.*\)/) {print substr($0,RSTART+1,RLENGTH-2)}'  | uniq -c | sort -nr | awk '{ print $2 "\t" $1}'