If you  create a group assignment by using the ‘Group assignment’ option in Canvas, only one one submission will count for the entire group.

If you would like students in the group to submit their assignments individually, and be graded individually, do not enable group assignment.

Read more on the Canvas Community:
How do I assign an assignment to a course group?