bugfix: hostgroups/num_services: remove <lambda>

A <lambda> function was returned instead of the correct value.