Is the "last pic" of fields from Table 1 or Table 2?
Are you trying to count records from table 1 or table 2?
Note that the definition for _c_countIDs shown in the last Pic is not defined as you describe for a field in Table 1 with a similar name in your very first post. The count function and a "count of" summary field can produce the same record counts, but there are specific syntax and evaluation context differences that have to be accounted for depending on which method is used to count records.
And it is not clear how you have defined your relationship linking these two tables.
You indicate that they are linked by "user name" , but then do not describe a user name field for table 1... You do describe an ID field that is apparently defined as a unique number, but it is not defined to auto-enter a serial number. (if you use get ( UUID ) this should be a text field instead of a number field.)
Last pic is Table1
Count record from table 1
Table 1.. Table1::ID is imported from another Database so I created Table1:: _OIV_ID field as my Text,Auto-Enter Serial
Table 1 and Table 2 are tied together by Table1::Ticket_By = Table2::UserName
My report is built on Table2... Want to count the tickets by each UserName for each Shift
Table 1 and table 2 Relationship
Count of Table1:ID
This appears to be a report most easily produced by setting up a summary report with sub summary layout parts that is based on Table 1 instead of table 2.
You can add sub summary layout parts "when sorted by " a date field and another "when sorted by" shift to get a report that breaks down totals by date and shift. If you want a total for each ID, that could be a third sub summary layout part. The same _c_countIDs field can be placed inside each of these sub summary layout parts to compute a subtotal and it can be placed inside a trailing grand summary layout part or a footer to show a grand total count.
You can list the individual records from table 1, or just have sub summary layout parts with sub totals visible.
For more on setting up a summary report, see: Creating Filemaker Pro summary reports--Tutorial