title: How to acess queue stats (size and waiting time) on service block?
body: <p>I am a Simul8 user. And now I´m learning anylogic.</p>
  <p>I need to collect metrics for Service Blocks in my model: average waiting time and average number waiting.
  How to acess this metrics ?</p>
  <p>I only could acess the <em>myService.queueSize()</em>.</p>
  <p>I also try <em>myService.sieze.queue.statsSize.mean()</em> as someone suggest on stackoverflow. But I got the following msg: <em>sieze cannot be resolved or is not a field.</em></p>
  <p>Thanks in advance.</p>
  <p><a href="https://i.stack.imgur.com/p17aO.png" rel="nofollow noreferrer">Error IMG</a></p>