def count(data_list):
    """ Count number of objects

    Inputs:
        data_list - a list of floats
    Outputs:
        val - The number of objects in an image
    """
    
    return len(data_list)