We apply the quantum jump approach to address the statistics of work in a driven two-level system coupled to a heat bath. We demonstrate how this question can be analyzed by counting photons absorbed and emitted by the environment in repeated experiments. We find that the common nonequilibrium fluctuation relations are satisfied identically. The usual fluctuation-dissipation theorem for linear response applies for weak dissipation and/or weak drive. We point out qualitative differences between the classical and quantum regimes.