COMPAT: windows dtype fix in for Panel.count