Are these properties stored with each event?

For example if I do:

analytics.identify("10", { "foo": "bar" })
analytics.page("Homepage")
analytics.page("Homepage")
analytics.identify("10", { "foo": "baz" })
analytics.page("Homepage")

and I want to see how many homepage visits were from users with property "foo" == "bar", will it return 0, 2, or 3? What will it return if I ask for homepage visits from users with property "foo" == "baz"? 0, 1, 3?