Hey,

I have a .txt file which contains general book order info such as:

customer name: XXX,
book title(s) ordered: XXX,
order date: XXX,

which the contents are read in when java program is run, how do I do a count on for example the number of books ordered?

Thanks.