since the default for column_name is all (https://github.com/joseluistorres/kaminari/blob/453ab720a507115b0bb11b25f240c76df13d81fa/lib/kaminari/models/active_record_relation_methods.rb#L11) that means that another column is not specified which take us to make a select count(*) without the patch, instead of doing that we can do c.length or c.size since the data is already loaded no need for an extra query