second data of grouping by activity and subject