Calculating the size of a feeder input

Hello, I’ve been trying to figure out if there is a way for me to determine the number of records in a json feeder file. I found this post from 2014 which indicates there is a feeder.records.length field, but that does not seem to apply any more. Is there a way to determine this record size at run time?

https://gatling.io/docs/current/session/feeder/#grabbing-records

Thanks Stéphane! I found that after I posted. I was originally having problems because I had already called circular. I’m still new to scala to my grasp on the language is very poor.