Calculates the request payload size

def calculate_size(name, uuid, callable, address):
    """ Calculates the request payload size"""
    data_size = 0
    data_size += calculate_size_str(name)
    data_size += calculate_size_str(uuid)
    data_size += calculate_size_data(callable)
    data_size += calculate_size_address(address)
    return data_size