redefine $starCount in functions.php