Make a hashtag counter for my website


Hi, I´m looking for a way to count the times that a hashtag has been used and then when it gets to 100 for example, I like to show something on the screen and keep tracking until I get 4000 tweets with that hashtag and unlocked content every 100 tweets, there´s any way to do it with the API?