I have a pandas dataframe like so:

I want to be able to output this into a summary by price point kinda like this:
face_value | section | count |
   50.5    |    101  |    200
   50.5    |    301  |    365
where count is the cumulative total of all sections where available = True and for that specific price point. It's possible that the same section has multiple face values, so i would hope to aggregate them separately. Let's say I had multiple face_values for section 101, here would be the output if there was only section 101 in this data.
face_value | section | count |
   50.5    |       101    |      200
   97.5    |       101    |      365
So basically I would like to group by the price points and sum the counts if availability is true and ticket_type is primary. Looking through the pandas documentation and I'm having issues figuring anything out.
 
     
    