Fix error on Count.