Number of values in an array above a threshold

Keep in mind that suggestion f1 assumed that the array a already existed.
Edit: still that is an extremely weird result.