
if ((num_elements != 0) && ((total_bytes / num_elements) > 5)) {
    ...
}
