Added the 'count' command to the console.