Set the length property of a bound function