WordPress sql count meta values and group by meta keys

WordPress sql count meta values and group by meta keys