check database to find entry count in last 30 mins