Fixed counting of duplicate objects for m2m relationships.
Fixed slow count() query for annotated querysets.
Added option to create reversed relation link in admin with `reversed_relations` argument.
Refactor.
Optimized the case, when primary key is either FK or O2O.