Input: Mary believed John to have loved her.
Output: 1