Detect the first sales order of a client

Detect the first sales order of a client

Hi,

We would like to detect when a Sales Order is created, if it is the first made to that client. Any clue how to achieve this?