girs.feat.layers.LayersSet.get_field_count

LayersSet.get_field_count(layer_number=0)

Return number of fields for the given layer number. FID is not taken into consideration.

Parameters:layer_number – default is zero
Returns: