Inactive Tutor answered 07/08/19
Presuming that you actually have these data sets already broken up into individual lines, he "word count" command with the "lines" option is the right tool here. So:
wc -l filename
If it's all one undifferentiated string that you first need to break up into lines, you wold parse it with awk and have the awk script count the lines. A bit more complicated, but you can key off of "xx:xx:xx" as the start of line and just increment a counter each time you see that pattern. At the end of the script, output the counter.
Please feel free to reach out for further clarification