moved count out of consoltools line