Otogiri plugin to count rows in database