Add examples of collect with joining, grouping and averaging