BUG: issue in get_dtype_counts for SparseDataFrame (introduced by dtypes)

- added tests for GH #2873  (commented out)