// Number of direct already payouts and referal
$cnt = countSumTotalData('Y','doubler','id','completed',true, " AND `is_ref`='N'");
// Number of direct already payouts and referal
$cnt = countSumTotalData('Y','doubler','id','completed',true, " AND `is_ref`='N'");