add weighted counter