okay, well, is your checkbox in a form and all that stuff? this should be what you want:
<form action="script.php" method="post">
<input type="checkbox" name="strand1">agriculture
</form>
$totalStrand = 0;
if(isset($strand)){
$totalStrand = $totalStrand + 1;
}
if you want to have the value attribute in the input tag, then you need to do a different check in your script. i would suggest just dropping out the value. if you want to keep the value="agriculture" in then change the if statement to this:
if($strand == "agriculture"){
$totalStrand = $totalStrand + 1;
}