Select LEN('DOTNETFUNDA-AMATYA') - LEN (REPLACE('DOTNETFUNDA-AMATYA', 'A', '')) as ACount
Login to post response