Adding a virtual getter for the number of cascades (A. Maire)