From the Fukaya category to curve counts via Hodge theory