Counting number of records returned by Each

I am new to software development and even newer to Ember so this might be a stupid question.

I would like to show the user how many records are populating the table they can see but I can’t see a way I can do it using {{#each}}. I am currently using {{ #each model as |modelname| }} to populate the rows in the table.

The only resources I can find discussing this subject seem to be from quite a while ago (4 years in some cases!) and I am still a bit confused. Any help or pointers in the right direction would be greatly appreciated.

You can just do (assuming model is an array):

Number of records: {{model.length}}

Oh bloody hell. I’m new but not THAT new.

I feel like a right muppet now. Thanks for the answer pal!