Three vegetables would usually mean three different kinds of vegetables. Three fruits would usually be taken to mean three kinds of fruit. Yes, you can say this.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.