Implemented len() for CustomRR