Since pandas >= 0.25.0, you're able to use the explode method.
pandas >= 0.25.0
explode
movie_data['genre_ids'].explode().hist()
will do the trick.