Added variable to beginning count.