adapt pidgin count to new layout