Corrected derivation of parameter count for compilation logic of
functino literal and closure literal.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>