Add documentation for agglomerate_count
Overhaul learn_agglomerate()