Arriving at Regan's, he gave the guard one gold coin and gave Regan half the gold coins he had. On leaving, he gave the guard another gold coin.

Then he went to Generil's and Cordelia's and did exactly the same he did at Regan's, which made him penniless.

How many gold coins did Lear have at the beginning of his visit to his three daughters?