Version: 2018.2
public int layerCount ;

Description

Returns the number of layers in the controller.