count records

{{$Model.INSERT_MODEL_NAME_HERE.data.length}}

would give you a count of all the rows in a model if you use it in a template/rich text/text or UI formula.