Action potential counting at giant mossy fiber terminals gates information transfer in the hippocampus.