Investors & landlords

It depends on the nature of the "escrow" account.

Per the IRS:
------------------------------------------------------------------------------
Escrow Account

In some cases, the sales agreement or a later agreement may call for the buyer to establish an irrevocable escrow account from which the remaining installment payments (including interest) are to be made. These sales cannot be reported on the installment method. The buyer's obligation is paid in full when the balance of the purchase price is deposited into the escrow account. When an escrow account is established, you no longer rely on the buyer for the rest of the payments, but on the escrow arrangement.

Substantial restriction.   If an escrow arrangement imposes a substantial restriction on your right to receive the sale proceeds, the sale can be reported on the installment method, provided it otherwise qualifies. For an escrow arrangement to impose a substantial restriction, it must serve a bona fide purpose of the buyer, that is, a real and definite restriction placed on the seller or a specific economic benefit conferred on the buyer.
------------------------------------------------------------------------------
If the escrow amount is certain, requiring only the passage of time, you count the escrow amount in the year of sale.