use the eCart conditionalTotal function. For example:
<?php
if($yourCart->ConditionalTotal("Quantity", "columnName", "columnValue") >= 2) {
$_SESSION['sessionName'] = "sessionValue"
}
?>
yourCart is the name of your eCart object
columnName is the name of the column you want to check
columnValue is the value you are checking for.