Limits QuerySet to given length.

def limit(self, limit: int) -> "QuerySet":
        """
        Limits QuerySet to given length.
        """
        queryset = self._clone()
        queryset._limit = limit
        return queryset