I wanna show Customer order frequency on invoice

If the order notes show up in the invoice, you could use Order Automator to automatically put the customer orders number in the notes section. It’s not a default feature but there are free customizations available to do stuff like this.