remove pin count