The number of columns in the cursor or 0 if the cursor schema is closed.
Column IDs range from 0 to ColumnCount-1, inclusive.
Column IDs and count might change during a schema upgrade. To correctly identify a column, access it by name or refresh the
cached IDs and counts after a schema upgrade.