Add log count exported variable.  Add one_shot flag.
Add log count exported variable.  Add one_shot flag.

4honor/mtail,google/mtail,SuperQ/mtail,google/mtail,4honor/mtail,mindreframer/emtail,mindreframer/emtail,SuperQ/mtail