Reimplemented some counter