How many churches opened before 1850 are there?
CREATE TABLE wedding (
    church_id number,
    male_id number,
    female_id number,
    year number
)

CREATE TABLE church (
    church_id number,
    name text,
    organized_by text,
    open_date number,
    continuation_of text
)

CREATE TABLE people (
    people_id number,
    name text,
    country text,
    is_male text,
    age number
)
SELECT COUNT(*) FROM church WHERE open_date < 1850
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many churches opened before 1850 are there? ### Input: CREATE TABLE wedding (
    church_id number,
    male_id number,
    female_id number,
    year number
)

CREATE TABLE church (
    church_id number,
    name text,
    organized_by text,
    open_date number,
    continuation_of text
)

CREATE TABLE people (
    people_id number,
    name text,
    country text,
    is_male text,
    age number
) ### Response: SELECT COUNT(*) FROM church WHERE open_date < 1850