This is a bug it should be count() here