The Count with Queue is complicated that the Browse is Page Loaded. Seems you would only want One record counted Once. Paging Up would reload the same records.
You would want a count of All records without having to page thru it all of it, so File Load the Browse but it may have a lot of records. A Process template could scan all the records and build the count queue. Is this a small subset of records?
For a file loaded browse. use the method I posted earlier,
or look at the Totalling tab of the browse. Add a conditional total of type sum.
the condition would be INSTRING(‘Nt440’,my:Field)
That [1:5] is a String Slice. A caution that a Slice with a bad Start or End can GPF your program. Or it can corrupt memory which you won’t know unless you have Debug Index Array Checking on in the Project.
The safer code is to use the SUB(String,Start, Length) functionSUB(CSV:stock,1,5) which will never GPF or corrupt no matter how wrong the you have (Start, Length).
Note that the Browse Total does have to scan the entire file. You may see it slow things on a network drive or a very large file.