count same value on multiplecoulmns : i have hive table like, i need to count occurance of c

team_name  opponent_team    match_won
csk        mm               mm
csk        dc               csk
mm         csk              csk
dc         csk              dc  

now i need data like,

team_name  total_matches    matches_won
csk        4                2
mm         2                1
dc         2                1

can anybody help me on the query part.

