Fórmula interna VBA variável

eu tenho o seguinte código

 ActiveCell.FormulaR1C1 = "=COUNTIF(R[-54]C[-14]:R[-54]C[90],RC[-4])"

Quero substituir 90 por uma variável "total", tentei isso, mas não funcionou:

Dim total  as Integer
total=Inputbox("Enter a number")
ActiveCell.FormulaR1C1 = "=COUNTIF(R[-54]C[-14]:R[-54]C[ " & total & " ],RC[-4])"

Ty pela sua ajuda