Whoops didn't realise i didn't put the count unique code in, my bad