implemented Sheet.count() on Win