add counting