I made some changes to the script. It should now display the number of search results and list all movies correctly.
I added an option to choose how many search results do you want (because all results could be a bit slowly on slow internet connections): the first twenty or all results.