Estimating the age–metallicity distribution of a stellar sample from the probability distributions of the individual stars. Issue 1 (9th January 2021)