<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getBoneCount(self, action):
 """Reads the number of bones in skeleton associated with the given action"""


        fn = self.function_table.getBoneCount
        pBoneCount = c_uint32()
        result = fn(action, byref(pBoneCount))
        return result, pBoneCount.value