Add option in Sql Table widget to enable domain guessing.
Refactor (cached) __len__ for SqlTables.