The Numbers: Hurley's Doctor tells him that the deck that collapsed had 23 people standing on it, but it only had a capacity of 8.
For the scene where Libby and Hurley stand at the cliff's edge, they were nowhere near it in reality. The cliff edge was added in via bluescreen so that the actors were never in jeopardy.