Four chopped green onions will give you around 1/2 cup, although it would greatly depend on the thickness and length of the green onions.
And by "green onions", we will assume you are referring to the long, thin onions, also referred to as scallions or spring onions.