Hello Manoj,
You can create a property on the connector: 'No. of pins' and enter the value for that connector part.
You then create and style the property 'No. of pins' for the connector in the style set (see below). When the style is applied to the diagram the total number of pins for that connector will be displayed as per your style settings.