At 8.45 on a winter morning, school attendance looks simple: a gate, a bell and a student either present or absent. By the end of a term, however, that bin