Count selected rows in DBConnection using len() iso rowcount