added pr counting