I’m not quite sure what to explain here, this single line of code is rather primitive. Let me try it: you get ResultSetView from ResultSet, cast it to IBindingList and get Count property which contains number of records.
Are you a VB developer? If so use any free online C# to VB converter to get VB code.