Add method to IjScene that gets the number of layers it is storing