created counting part