Austin is a songwriter who collects royalties on his songs whenever they are played in a commercial or a movie. Austin will earn $50 every time one of his songs is played in a commercial and he will earn $110 every time one of his songs is played in a movie. Austin earned a total of $780 in royalties on 12 commercials and movies. Determine the number of commercials and the number of movies on which Austin's songs were played