initial counting