Measuring the Cosmic Equation of State with Counts of Galaxies.