Adding compatibility with mono 2.10.9

It seems mono does not implement
   SelectedRows.Count