TurtlesHere1
  breed [mice mouse]
  breed [frogs frog]
  globals [glob1]
  O> crt       10 [ set heading 0 fd 5 ]
  O> create-mice  10 [ set heading 0 fd 5 ]
  O> create-frogs 10 [ set heading 0 fd 5 ]
  O> set glob1 turtles with [breed = turtles]
  remove-duplicates [count turtles-here] of glob1 => [30]
  remove-duplicates [count other turtles-here] of glob1 => [29]
  remove-duplicates [count mice-here] of glob1 => [10]
  remove-duplicates [count other mice-here] of glob1 => [10]
  remove-duplicates [count frogs-here] of glob1 => [10]
  remove-duplicates [count other frogs-here] of glob1 => [10]
  remove-duplicates [count turtles-here] of mice => [30]
  remove-duplicates [count other turtles-here] of mice => [29]
  remove-duplicates [count mice-here] of mice => [10]
  remove-duplicates [count other mice-here] of mice => [9]
  remove-duplicates [count frogs-here] of mice => [10]
  remove-duplicates [count other frogs-here] of mice => [10]
  remove-duplicates [count turtles-here] of frogs => [30]
  remove-duplicates [count other turtles-here] of frogs => [29]
  remove-duplicates [count mice-here] of frogs => [10]
  remove-duplicates [count other mice-here] of frogs => [10]
  remove-duplicates [count frogs-here] of frogs => [10]
  remove-duplicates [count other frogs-here] of frogs => [9]

TurtlesHere2
  O> crt 1 [ ask turtles-here [ set label "foo" ] ]
  [label] of turtle 0 => "foo"

PatchDoesOtherTurtlesHere
  globals [glob1]
  O> create-turtles 1 [ set glob1 patch-here ]
  [length sort other turtles-here] of glob1 => 1

PatchDoesOtherBreedHere
  globals [glob1]
  breed [frogs frog]
  O> create-frogs 1 [ set glob1 patch-here ]
  [length sort other frogs-here] of glob1 => 1

PatchDoesCountOtherTurtlesHere
  globals [glob1]
  O> create-turtles 1 [ set glob1 patch-here ]
  [count other turtles-here] of glob1 => 1

PatchDoesCountOtherBreedHere
  globals [glob1]
  breed [frogs frog]
  O> create-frogs 1 [ set glob1 patch-here ]
  [count other frogs-here] of glob1 => 1
