Export body_linecount and body_zerocount in the local_scan API.