added methods countwords and countlines with suffix