Option Explicit
Sub GPE()
Dim eRw As Long
Columns("B:B").Select: eRw = [B65500].End(xlUp).Row
Selection.Insert Shift:=xlToRight
ActiveCell.FormulaR1C1 = "=COUNTIF(R1C[1]:R" & eRw & "C[1],RC[1])"
[B1].Select
Selection.AutoFill Destination:=[B1].Resize(eRw), Type:=xlFillDefault
Columns("B:C").Select
Selection.Sort Key1:=Range("B1"), Order1:=xlDescending, Header:=xlGuess, OrderCustom:=1
Columns("B:B").Select
Selection.Delete Shift:=xlToLeft
End Sub