Create create_popularity.sh

First version of the popularity index