Counting database repairs under primary keys revisited