My name is Scott Robertson from Las Vegas, Nevada, USA. I have 18 years experience as a technical project manager and as a webmaster. I know: php, mysql, html, css, javascript, jquery and python. As an Eagle Scout honesty, honor and loyalty mean everything to me.
I am half talking out of my rear, as I do not know enough yet. However this is my current thoughts.
1 - get domain from client
2 - get list of backlinks from some service client provides
3 - loop through each backlink to check for the domain and see if its a rel=nofollow
4 - set a flag to track if you each backlink is nofollow or not
5 - repeat for each backlink and domain
6 - provide some kind of report for client to tell client these details