Imported the tweet counter module into another js file and was able to use it to get counts.json