corrected info in comment on get_num_heartbeats