How do I get the count of filtered rows?

Hello,

How do I get the count of filtered rows?

Thanks,

var count=mygrid.getRowsNum();