Update repository count