Unemployement Period in first year of OPT

How is Unemployement period of 90 days counted.

Is agreement date with the company counted as start date of job

or

start date of the project counted as start date of job. Please explain i am much wooried about this

it is counted from the start day of your OPT card till the start of your payroll date ( joining date)