Returns the number of layers in the layer stack.
The count includes the root layer. Hence a page with a single overlay would return a count of 2.
The number of layers in the stack.