do mathematical algorithms count?