Find the number of ordered triples $(a,b,c)$ of positive integers such that $ab + c \le 87$ and $\log_a b$ is a positive integer.