How to count # of @newline in a field

From a view; can anyone tell me how I can count how many @newline there is in each of the documents in the view? I have replaced the @return with “X”; but can’t count how many “X” ther is in the field???

Subject: Count := @Elements(@Explode(TextField; @NewLine)) - 1;

Subject: RE: Count := @Elements(@Explode(TextField; @NewLine)) - 1;

Thks. It works.