sprockets/src/main/java/net/sf/sprockets/database/Cursors.java
public static int count(Cursor cursor, boolean close) {
        int count = cursor.getCount();
        close(cursor, close);
        return count;
    }
public static int count(Cursor cursor, boolean close) {
        int count = cursor.getCount();
        close(cursor, close);
        return count;
    }
public static int count ( Cursor cursor , boolean close ) { int count = cursor . getCount ( ) ; close ( cursor , close ) ; return count ; }
Get the number of rows in the cursor.

@param close true to close the cursor or false to leave it open
Get the number of rows in the cursor .