Accessing protected data member in a ROOT class

Hello. Given a TPie, I would like to get the number of slices it contains from pyROOT. The attribute is called fNvals, and it’s a “protected data member” within TPie class. There’s not any method (GetNvals or similar) to access directly and, being “protected”, I can’t acess it by doing simply “pie.fNvals”. However by doing pie.Dump() I get its value printed. I’ve been looking around a lot, but I couldn’t find any solution…
Could someone give a hand? Thanks a lot in advance

I eusonxabi, I don’t how to help you with the protect member but I will add a member functio to obtain the number of slices, unfortunately this option will be only in the HEAD version.