It was brought to our attention that MasterPress would give a tonne of warnings and deprecation notices when used with PHP 7.4 – this update addresses those.
MPFT_RelatedPostType :: count()
Return the count of post types selected in the UI. Since this overrides count the number of post types can also be retrieved by calling count directly on the field object.
Note: This method is intended for internal use and should not be called directly.