title: Counting knockout validation error messages in a public function
body: <p>I have a <code>jsFiddle</code> <a href="http://jsfiddle.net/asad23/tRVCr/" rel="nofollow">here</a>:</p>
  
  <p>There is an array in knockout viewmodel and every array element raises an error. Is there a way to count number of error messages for the whole view model and access it by a public javascript function?</p>
  
  <p>The idea here is to count total errors of the viewmodel and then perform some action outside in a javascript public function.</p>
  
  <p>Thanks</p>