def num_larger_items(coord_ref, coord_list):
    """ Returns the no. of items in coord_list which coord_ref is larger
    than. E.g. co=3, coord_list=[5,2,1], returned: 2"""
    return len([coord for coord in coord_list if coord < coord_ref])