How many children did John have with mistresses during his first marriage