How the Avengers assemble: Ecological modelling of effective cast sizes for movies