MDL-31987 Assignment module: Assignment count submissions correctly.