A bit weird, but somehow I can't find how you can set the number of ticks in BarLegend. I'm using BarLegend[{{"BlueGreenYellow", "Reverse"}, {0,
1}}, 50, LabelStyle -> {FontSize -> 20},
LegendLabel -> "Transmission", LegendMarkerSize -> 500] and I'd like to give it more ticks, but using Ticks-> shows up red