added the count command