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