include total post count for xml (#590)
fixes #1319
fixes #1314; fixes #1313
fixes #1282
fixes #1160
fixes #1129
fixes #1097