An immense amount in the A77's case. Which TBH, it may not need, unless the traffic volume has risen a hell of a lot since I last used it regularly? It was still a major accident blackspot even then, despite it never actually seeming that busy.
Part of the problem is that much of it clings to the coast, which is mile upon mile of highly unstable boulder dropping cliffs. Dualing through that would need some masterful & costly engineering. Many of the accidents in the past have been because of rockfalls & folk going too fast to avoid debris, or hitting something when doing so. Not strictly because of the road itself.
I have to say, I wouldn't look forward to going its length nailed to the speed limit. in the early morning or with the sunset on one side of you, it could be an absolutely cracking road for the bike!