The following snippet will let you count your WordPress website blogroll links.

Snippet Source/Credit: Jeff Starr