How many rehab beds are there in Scotland?

It appears that there have been an additional 172 “rehab” beds introduced in Scotland since 2021 – Annemarie Ward of Faces & Voices of Recovery UK questions the claim (also read the comments to her X post).