fix count format, encode, modify readme