how do you count the number of columns in a table in oracle?
If Oracle supported INFORMATION_SCHEMA.COLUMNS, I'd say use that. But as others have said, use the USER_% views.
For completeness, the following link describes what systems support the SQL-92 Standard. Systems that support INFORMATION_SCHEMA