Two girls playing basketball.
Girls are playing basketball.
Many girls are playing basketball.
"Two girls playing basketball" is a rephrase of "girls are playing basketball."
Two girls is inferred as girls.