def calculate_size(name, service_name):
data_size = <NUM_LIT:0><EOL>data_size += calculate_size_str(name)<EOL>data_size += calculate_size_str(service_name)<EOL>return data_size<EOL>
Calculates the request payload size