Hi Lennart,
Indeed, it would appear that raw term frequency was used as the tf in this example.
In an exam, you'd be given a concrete formula for both TF and IDF (since in practice, there are multiple variants for each, i.e., definitions are not unambiguous).
Cheers,
Goran