Rakuten Interview Question

Simple count letters in a given word? Counter function? Architecture of BERT?