title: celery: how to count total number of messages in a queue every interval?
body: <p>I want to monitor a queue to be notified when it becomes empty. To do this I need to find out how many messages are in the queue and this task needs to run every interval ex. every 15 seconds.</p>
  
  <p>I am confused reading the docs which say that you shouldn't use celerybeat in a worker for production, so does this mean I need to create a separate python script that utilizes periodic tasks? Not sure how I can implement this.</p>