Added function of counting symbols,lines and words