im printing out login days counter this way:

print format_date(user_stats_get_stats('login_days', $node->uid), 'custom', 'j');

But it always display the number 1?! Even if im logged in 1 week ago.