Fixed pagination bug

Code required
@if ($models->getTotal() > 10)

NOT

@if (count($models) > 10)
DB seeds