From the file /tmp/data.txt, extract the second field delimited by "|", sort the output, count the number of occurrences of each unique value, and sort the output in descending order.
cut -f2 -d "|" /tmp/data.txt | sort | uniq -c | sort -nr