add counting tool