int getNumAttributes()
This method returns number of database attributes, i.e. columns, in the database table associated with this layer.