I will be using pxListSubscript to check the count and in the column where I want to display the label based on condition, I have to include a section.In that section, give pxListSubscript==10 visibility condition on the label.
As others have pointed out, referring to pxListSubscript may meet your exact need here. This can be used to pass into activites/DTs. However, I have not used it directly within the UI form to change display a label like you are describing.
So even if it does not work at first, at least make sure passing this into an activity is showing the expected values, and then try applying that information to your unique use case.