SQLite Получите количество столбцов
PRAGMA table_info(table_name);
VasteMonde
PRAGMA table_info(table_name);