If the noun "homework" is uncountable (can it ever be countable?), then the sentence "The teacher has assigned 2 homeworks for next class" is wrong. How could I rephrase it?
Homework can be a noun AND homework can also be an adjective.
There is no plural of homework.
The teacher assigned homework.
She gave two homework assignments.
I must do three pages of homework.
The homework tonight is three pages.
I have homework in three classes.
Suzy
(not a teacher)