Make aggregate count arg optional. Fix #157.