added a function GetNScalerEntries in GTreeManager equal to GetNEntries.