def count_in_list(my_list, count_for=1):
    """ Gets the count of a certain value in a list.
    
    Args:
        my_list (list of obj): The list to search through.
        count_for (obj): The object to count.
        
    Returns:
        int: The number of that object
    """
    count = 0
    for item in my_list:
        if item == count_for:
            count += 1
            
    return count