Index: /temp/test-xoops.ec-cube.net/html/modules/xoopspoll/class/xoopspolloption.php
===================================================================
--- /temp/test-xoops.ec-cube.net/html/modules/xoopspoll/class/xoopspolloption.php	(revision 826)
+++ /temp/test-xoops.ec-cube.net/html/modules/xoopspoll/class/xoopspolloption.php	(revision 827)
@@ -135,4 +135,10 @@
 			$ret[] = $myrow;
 		}
+		$sql = "SELECT count(*) as count FROM ".$db->prefix("xoopspoll_log")." l LEFT JOIN ". $db->prefix("users") ." u  ON l.user_id = u.uid WHERE l.option_id=".intval($option_id)." ORDER BY time DESC  LIMIT $limit_start, $limit_end";
+		$result = $db->query($sql);
+		$myrow = $db->fetchArray($result);
+		
+		$ret['count'] = $myrow['count'];
+		
 		//echo $sql;
 		return $ret;
