Solution 0.4.5.1.

There are 8 functions, including 6 surjective and zero injective functions.

in-context