DBIx::Class::ResultSet has a handy method count() to see how many results this prepared ResultSet would return. This is hidden by the Koha::Object. This patch adds a wrapper for the count() method inside the Koha::Object, so it is nicely available for all subclasses.
Created attachment 37215 [details] [review] Bug 13905 - Wrapping DBIx count inside Koha Object DBIx::Class::ResultSet has a handy method count() to see how many results this prepared ResultSet would return. This is hidden by the Koha::Object. This patch adds a wrapper for the count() method inside the Koha::Object, so it is nicely available for all subclasses.
count() is already in Koha::Objects