counting diamonds