Question: How many photos use a Sigma lens?
SQL: SELECT  count ( * )  from photos as T1 join camera_lens as T2 on  T1.camera_lens_id = T2.id where T2.brand  =  'Sigma'