Crucial aspects of the initial mass function (I): The statistical correlation between the total mass of an ensemble of stars and its most massive star