Reset @total_count on #clone

Fixes #565
Mongoid 4.0.0 and later should include Mongoid::Attributes::Dynamic