added -startonly option for counting