{{ $author := partial "author-user.html" . }}
{{ $count := 0 }}
{{ range .Site.Pages }}
{{ if or
(in .Content "")
(in .Content "")
(in .Content "")
(in .Content "")
}}
{{ if eq .Type $author }}
{{ $count = add $count 1 }}
{{ end }}
{{ end }}
{{ end }}
{{ print (lang.FormatNumberCustom 0 $count) " " "Messages" }}