There are two groups, rough sleepers and the homeless. The latter has a far higher number of people in it than the former.
The homeless are basically defined as those with no permanent residence and include those sleeping in hostels.
An individual on any one night may get a place in a hostel...