added meta total counts to output