Add rate counting to import