as herbivores they lived in herds at times and were greater in number than the saurischians