title: Number of times REST API was called
body: <p>If I have a HTTP REST API : <code>example /getCount</code></p>
  
  <p><strong>Sample Code</strong></p>
  
  <pre><code>@RestController
  public class CountController {
      long count = 0;
      @Getmapping("/getCount")
      public long getCount(){
          count++; // Here is the problem, how to keep the latest count if the API was hit by multiple Application/clients
          return count;
      }
  }
  </code></pre>
  
  <p><strong>Problem Description</strong>: Every time any app/system call the above mentioned API, count will be increased by 1 and the caller  entity can get the exact number of hit.</p>
  
  <p><strong>Condition</strong>: Its a open API.Need guidance how to achieve it.
  This is the only problem statement I am having</p>