A massive star census of the starburst cluster R136