[enhancement] add calculate ANF