Minor bug fix for 'Count' property error