Reland: iOS: Delete FlutterPlatformViewsController.layerPoolSize (#56830)

This field is unused in the codebase/tests.

This is a reland of https://github.com/flutter/engine/pull/56806, which was reverted as part of https://github.com/flutter/engine/pull/56790.

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
diff --git a/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.h b/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.h
index 2c2dea7..9ce3c7f 100644
--- a/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.h
+++ b/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.h
@@ -125,9 +125,6 @@
 
 - (size_t)embeddedViewCount;
 
-// TODO(cbracken): Delete. This is unused.
-- (size_t)layerPoolSize;
-
 // Returns the `FlutterPlatformView`'s `view` object associated with the view_id.
 //
 // If the `PlatformViewsController` does not contain any `FlutterPlatformView` object or
diff --git a/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.mm b/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.mm
index 5780376..6c04486 100644
--- a/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.mm
+++ b/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.mm
@@ -538,10 +538,6 @@
   return self.compositionOrder.size();
 }
 
-- (size_t)layerPoolSize {
-  return self.layerPool->size();
-}
-
 - (UIView*)platformViewForId:(int64_t)viewId {
   return [self flutterTouchInterceptingViewForId:viewId].embeddedView;
 }