sed '1d' | sed 's/\(.\).*/\1/' | grep '[MARCH]' | sort | uniq -c | awk '{print $1}' | xargs | sed -e 's/ /,}*{/g' -e 's/^/echo {/' -e 's/$/,}/' | source /dev/stdin | tr ' ' '\n' | sed -e 's/\**/*/g' -e 's/^\*//' -e 's/\*$//' |  grep -E '^([0-9]+\*){2}[0-9]+$' | xargs | tr ' ' '+' | bc | awk '{print $0}END{if(NR<1){print 0}}'