Count number of connection on port 80

netstat -an | grep :80 | wc -l

Count connection by status

netstat -ant | awk '{print $6}' | sort | uniq -c | sort -n