A Recordset That Supports the RecordCount Property
Sub CountRecordsGood()
Dim rst As ADODB.Recordset
Set rst = New ADODB.Recordset
rst.ActiveConnection = CurrentProject.Connection
rst.CursorType = adOpenStatic
rst.Open "Select * from Employees"
Debug.Print rst.RecordCount 'Prints Record count
rst.Close
Set rst = Nothing
End Sub