Bug in the Documentation

I hope this is the right section to report documentation bugs…?

In the documentation for Add Data to Storefront you are showing a ProductCountRoute() class.
Three bugs in the load() function of the class:

  1. criteria rather then $criteria
  2. $event object not initalized
  3. $context object passed but not used
    I guess $context should replace $event but have not tried yet.