cukup tambahkan DISTINCT
SELECT COUNT(DISTINCT profile_id) totalCOUNT FROM ptb_profile_views...
dan gema alias,
$views['totalCOUNT']
cukup tambahkan DISTINCT
SELECT COUNT(DISTINCT profile_id) totalCOUNT FROM ptb_profile_views...
dan gema alias,
$views['totalCOUNT']