title: Find number of elements in a Circular Queue
body: <p>How do I find the number of items in a circular queue?
  |front - rear| doesn't always work.</p>
  <p>Is there one formula to know how many elements are there in a circular queue using front, rear and size of the array?</p>