Word counting of a file using several application instances