add reputation count feature and test