If you're doing a one-off pipeline on the command line, you can even start with less!
"I want to look through this file..."
less file
"Oh, that's long, I want to look at all the foos..." less file | grep foo
"How many foos are there?" less file | grep foo | wc -l
Try it, it works!