Each student at Ysgol Y Garreg school in Gwynedd, north Wales, is costing authorities £21,000 to educate - triple the county average - after its pupil numbers dwindled.