buddy: add interface for number of buddies