$ grep -r "tags:" ~/posts | sort | uniq -c

Tags