Count Specific Character In String Python Functions