modified counter and word getter format to be able to deal with abstracting