--- loncom/homework/optionresponse.pm	2003/04/21 22:09:47	1.75
+++ loncom/homework/optionresponse.pm	2003/04/24 15:49:46	1.76
@@ -1,7 +1,7 @@
 # LearningOnline Network with CAPA
 # option list style responses
 #
-# $Id: optionresponse.pm,v 1.75 2003/04/21 22:09:47 albertel Exp $
+# $Id: optionresponse.pm,v 1.76 2003/04/24 15:49:46 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -239,6 +239,8 @@ sub end_foilgroup {
 	    $Apache::lonhomework::results{"resource.$part.$id.awarddetail"}=$ad;
 	    $Apache::lonhomework::results{"resource.$part.$id.awarded"}=
 		$right/(scalar(@whichopt));
+	    $Apache::lonhomework::results{"resource.$part.$id.numfoils"}=
+		scalar(@whichopt);
 	}
       }
     }