Add stats for values on codelists