TTreeのエントリー数をしりたい(TTree::GetEntries

1Int_t n_entries = tree->GetEntries();