Chapter 4 Application of a mode-control model of temporal integration to counting and timing behavior