Mod: count has wrong value