patch to make count be able to read from slave