I have a dataframe in which i have four columns id,opposition,innings and wickets . I want to group by innings and opposition and want the sum of wicket and count of opposit