similarity/eparse: fixed sscanf() count check