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

- added tests for GH #2837 (commented out)