add method for counting