Siemens Interview Question

What is agile. write code on counting specific alphabets repeating in a sentence.