How to count rows in EpiDataView

How to get the number of rows that is in EpiDataView?

EpiDataView edv;
edv = ((EpiDataView)(this.oTrans.EpiDataViews["ViewName"]));
int numRows = edv.dataView.Count;