title: How to show total number of errors within a page in primefaces message?
body: <p>I'm using jsf 2.1 and Primefaces 3.3. I want to show the total number of errors within a page at the top of the page using <code>&lt;p:message&gt;</code>.</p>
  
  <p>Please give me advice for how to do it and it will be helpful if you can explain with an example. Thank you in advance.</p>