No, the last layer is just a linear layer, there's no non-linearity. That's what's strange about their definition. The depth-three network only applies a non-linearity twice, which would conventionally be labeled as depth two.
[1] - https://raw.githubusercontent.com/qingkaikong/blog/master/40...