Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_37227 ( "Year" real, "Title" text, "Role" text, "Producer" text, "Director" text )

### Question ###
How many years was Kay Tagal Kang Hinintay directed by Rory Quintos and produced by Star Cinema?

### Accurate SQL ###

SELECT COUNT("Year") FROM table_37227 WHERE "Producer" = 'star cinema' AND "Director" = 'rory quintos' AND "Title" = 'kay tagal kang hinintay'