Factors affecting longevity of cows with high share of Polish local breeds’ genes