add counts to headers