Count and fetch bugfixes