Yep, that was it. Thank you for the quick response it's much appreciated!
In reply to Re^2: Getting the right count by dukea2006 in thread Getting the right count by dukea2006