Counts letters using dict.get() method