Leaves Singly or Doubly Compound?

Are the leaves doubly pinnately compound or singly pinnately compound?

Doubly pinnately compound

Doubly pinnately compound leaves close up Doubly pinnately compound leaves flat image

Leaves are doubly pinnately compound - with 40 or more leaflets; leaf is 1-3 feet long

OR

Singly pinnately compound

Singly pinnately compound leaves up close Singly pinnately compound flat image

Leaves are singly pinnately compound - with 13 to 39 leaflets; the leaflets margin is smooth except for 1-2 gland teeth at the base