I have a data frame with categorical values
Names   Dis   Del
    A   0-2   0-2
    A   2-4   0-2
    A   6-8   6-8
    B  8-10  8-10
    C   10+   10+
What I want is output in the number of count as per this data
       0-2  2-4  6-8  8-10  10+      
 0-2     1                       
 2-4     1                    
 6-8               1           
8-10                     1   
 10+                          1  
I also want to export this data which was created out of this data frame.
 
     
    