size_t len = 1;
size_t len;
_dl_dst_count (const char *name, int is_path){  const char *const start = name;  size_t cnt = 0;  do    {      size_t len = 1;      /* $ORIGIN is not expanded for SUID/GUID programs (except if it	 is $ORIGIN alone) and it must always appear first in path.	 Note that it is no bug that the string in the second and	 fourth `strncmp' call is longer than the sequence which is	 actually tested.  */      if ((len = is_dst (start, name + 1, "{ORIGIN}", 8, is_path,			 __libc_enable_secure)) != 0	  || ((len = is_dst (start, name + 1, "{PLATFORM}", 10, is_path, 0))	      != 0))	++cnt;      name = strchr (name + len, '$');    }  while (name != NULL);  return cnt;}