Full counting distribution and phase diagram of a strongly interacting Rydberg gas