add stats counter