'summarize number of appearances of different values in different columns in Data Frame

For Example I have this data :

star1                  star2                star3            star4

Francis                Ron              Robert               Hen   
Francis                Ron              Shir                 Coppola              
Shir                   Ron              Francis              Coppola              

I want to have :

Francis,3             
Coppola,2 
Ron,3
Shir,2
Robert,1
Hen,1

How can I do this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source