An agreement for the occupation of real estate in the city of New York, which shall not particularly specify the duration of the occupation, shall be deemed to continue until the first day of October next after the possession commences under the agreement.