Experimente este verso na linha de comando:
clear; echo "Enumerating codecs.."; echo; dpkg --get-selections | awk '{print }' | grep -iR codec; export number='dpkg --get-selections | awk '{print }' | grep -iR codec | wc -l'; echo; echo "$number codecs installed."; echo