If you are having issues reaching your protein goals, you can supplement your diet with soy protein powder. It's cheap, a source of all 9 essential aminoacids, and it has a bland taste, so you can mix it into smoothies, shakes, salads, or even your lunch.
About "which quantity", we can't get the right number for you without knowing your weight, height, age, goals, and pre-existing conditions. If you are a healthy adult, you can estimate your TDEE needs here. Otherwise, you'll need assistance from a dietitian.
For the sake of calculations, let's use as example a person with a TDEE of 2,800kcal. Recommended protein intake would be in the range of 10-35%, so between 70-245g.
Translating that into some foods:
+-------------------+---------+------------------+-------------------+
| Food | protein | Needed for 70g | Needed for 245g |
+-------------------+---------+------------------+-------------------+
| Green peas (raw) | 5% | 1,400g (3.1 lbs) | 4,900g (10.8 lbs) |
| Black beans (raw) | 21% | 350g (0.7 lbs) | 1,200g (2.6 lbs) |
| Seitan | 75% | 95g (3.35 oz) | 330g (11.8 oz) |
| Soy milk | 3% | 2,150g (4.7 lbs) | 7,450g (16.3 lbs) |
| Tofu (raw) | 8% | 875g (1.9 lbs) | 3,100g (6.7 lbs) |
| Peanut butter | 25% | 280g (9.9 oz) | 980g (2.2 lbs) |
+-------------------+---------+------------------+-------------------+
All food info comes from the US Department of Agriculture.
Edit to shed some light on the calculations: I considered 4 kcal/g for proteins. 10-35% was calculated on top of total calories, i.e., out of 2,800 kcal/day, 280-980 kcal/day should come from proteins. The percentages were calculated by dividing total protein weight by total weight (water weight included).