def METHOD_NAME(self):
    """Test LimitOffset pagination custom 'X-Total-Count' headers implementation"""
    # Authenticate client
    self.client.credentials(HTTP_AUTHORIZATION="Token " + self.token.key)
    # Get paginated response with X-Total-Count as header
    response = self.client.get("/api/v1/projects/", {"limit": 25})
    self.assertEqual(
        int(response.headers["X-Total-Count"]),
        self.total_projects,
    )
    # Get unpaginated response without X-Total-Count in headers
    response = self.client.get("/api/v1/projects/")
    self.assertNotIn("X-Total-Count", response.headers)