Returns the total number of registered layers (visible or not).

mapLayers.count(...)

Arguments

...

low-level parameters (such as host and auth) to be passed on to qgisremote()

Value

An integer.