Input: Harriet gave a mug to John and a scarf to Vivien.
Output: 1