Check if a list has records

You may want to see if a list has any records before you do anything'

@*-------------- start ---------------------------
@BRT.Lister(tableId:"Content", viewId:"Posts",pageSize: 4, fields: new[] {"Title", "PubDate", "Body","Summary", "PrimaryImage","Photos","Files"},
template:
@<text>
    @if(item.Count > 0) {
        do stuff
    }
</text>)
----------------- end ------------------------*@
<br>