Solutions for merge and letter count