You may have to copy the contents that you are wanting to do the count on, into a seperate file, so you can check just that section of text.
But I think what you want is the sum command.
sum yourfilename
You can also check these commands:
fileplace yourfilename
wc yourfilename
Remember, amateurs built the Ark, professionals built the Titanic.