[PD-dev] object count for dynamic patching