compiles - I rolled back the count fn