S5W-21707 Neil Findlay: To ask the Scottish Government how many people have been detained in prison in each year since 1999, also broken down by how many were recorded as (a) being homeless and (b) having a reliance on drugs or alcohol prior to sentencing.