Get scale in fragment shader

How would i get scale in a fragment shader? i only need uniform scale, i have tried unity_Scale.w but this got removed in Unity 5.x

According to the docs there is no replacement just “In most cases where “unity_Scale” was used we recommend instead transforming to world space first”, with a couple examples included.