Calculation of royalties and number of commercials and movies